package com.jackson.service;

import com.jackson.dao.StudentDao;
import com.jackson.entity.StudentEntity;

import java.util.ArrayList;

/*
 * Author: JacksonCoder
 * FileName: StudentService
 * Version: 1.0.0
 */
public class StudentService {

    private StudentDao studentDao = new StudentDao();

    public ArrayList<StudentEntity> allStudents(){
        ArrayList<StudentEntity> studentEntities = studentDao.allStudent();
        return studentEntities;
    }

}
